/*
 * @Author: 李环玉 834654733@qq.com
 * @Date: 2023-11-26 02:23:40
 * @LastEditors: 李环玉 834654733@qq.com
 * @LastEditTime: 2023-11-26 20:03:03
 * @FilePath: \koa-server\src\router\topMenu.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const Router = require('koa-router')

const router = new Router({prefix:'/topmenu'})

const { auth } = require('../middleware/auth.middleware')
const { searchTopMenu } = require('../controller/topMenu')

router.get('/search',searchTopMenu)

module.exports = router